const MyWatch = require('./MyWatch');

new MyWatch("_watchB.log",[
    {
        fileName: '_watchA.log',
        command: 'node ./watchA.js'
    },
    {
        fileName: '_main.log',
        command: 'node ./../main.js'
    }
],3000,1000);